<?php
namespace QnuiRings\Model;
use Think\Model\ViewModel;
class TagTaskViewModel extends ViewModel {
   public $viewFields = array(
	 'TagTask'=>array('id'=>"task_id",'sid','tag_id','tag_name','tag_family','start_time','end_time','countdown','order_topic','rate_level','good_rate_key_words','item_count','promotion_count','_type'=>'LEFT'),
	 'Tags'=>array('tag_description'=>'tag_desc','start_time'=>'tag_start_time','end_time'=>"tag_end_time",'_on'=>'TagTask.tag_id=Tags.tag_id','_type'=>'RIGHT'),
	 "TmcStatus"=>array("id","sessionkey","deadline","is_vip","vip_group","user_nick","_on"=>"TagTask.sid=TmcStatus.sid",'_type'=>'LEFT'),
     );
}